FROM mysql:5.7

ENV MYSQL_ALLOW_EMPTY_PASSWORD yes
COPY setup.sh /mysql/setup.sh
COPY initDB.sql /mysql/initDB.sql

CMD ["mysqld"]

CMD ["sh", "/mysql/setup.sh"]
